﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace tantrinh.Models
{
    public class ThuVienHinh
    {
        public int ThuVienHinhID { get; set; }
        public string TenHinh { get; set; }
        [Required(ErrorMessage = "dd/mm/yyyy")]
        [DataType(DataType.Date)]
        [DisplayFormat(DataFormatString = "{0:dd/mm/yyyy}")]
        public DateTime? NgayDang { get; set; }
        public string MoTa { get; set; }
        public bool TinhTrang { get; set; }
    }
}